package com.example.certificate.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import com.example.certificate.common.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import net.bytebuddy.agent.builder.AgentBuilder;

/**
 * <p>
 * 用户发布表
 * </p>
 *
 * @author hao
 * @since 2022-03-10 17:42:31
 */
@Getter
@Setter
@TableName("issue")
@ApiModel(value = "Issue对象", description = "用户发布表")
public class Issue extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("标题")
    @TableField("title")
    private String title;

    @ApiModelProperty("描述")
    @TableField("desc_detail")
    private String descDetail;

    @ApiModelProperty("图片 视屏信息")
    @TableField("images")
    private String images;

    @TableField(exist = false)
    private List<String> imageList;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String userImage;
}
